<div id="editTravel" class="modal fade bs-example-modal-lg" tabindex="-1" role="dialog" aria-hidden="true">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title" id="myModalLabel">游记修改</h4>
                <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span>
                </button>
            </div>

            <div class="modal-body">
                <form action="javascript:void(0);" class="form-horizontal form-label-left">
                    <div class="item form-group row justify-content-center">
                        <label class="col-form-label col-md-3 col-sm-3 label-align"
                               for="userNameForEdit">游记名称
                        </label>
                        <div class="col-md-6 col-sm-6 ">
                            <input type="text" id="userNameForEdit"
                                   class="form-control" v-model:value="travel.travelName">
                        </div>
                    </div>
                    <div class="item form-group row justify-content-center">
                        <label class="col-form-label col-md-3 col-sm-3 label-align"
                               for="LocationForEdit">详情
                        </label>
                        <div class="col-md-6 col-sm-6 ">
                            <textarea type="text" id="LocationForEdit" rows="10"
                                      class="form-control" v-model:value="travel.travelDetail">
                                </textarea>
                        </div>
                    </div>
                    <div class="item form-group row justify-content-center">
                        <label class="col-form-label col-md-3 col-sm-3 label-align"
                               for="LocationForEdit">图片
                        </label>
                        <div class="col-md-6 col-sm-6" style="margin:0;padding:0;border:1px solid gray;">
                            <div style="overflow-x:hidden;height:300px;overflow-y: scroll;">
                                <div class="col-md-10" style="margin: 30px;float: left"
                                     v-for="(image,index) in travel.images">
                                    <div class="tile">
                                        <div class="tile-title-w-btn">
                                            <h3 class="title"></h3>
                                            <img :src="image.image" style="max-height: 200px;overflow: hidden;">
                                            <div class="btn-group">
                                                <a class="btn btn-primary" href="#"
                                                   @click="deleteImage(image.imageId)">
                                                    <i class="fa fa-lg fa-trash"></i>
                                                </a>
                                            </div>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <input id="uploadImage" name="file" type="file" multiple=true>
                </form>
            </div>

            <div class="modal-footer">
                <button type="button" class="btn btn-secondary" data-dismiss="modal">关闭</button>
                <button type="button" class="btn btn-primary"
                        @click="updateModule()" data-dismiss="modal">保存
                </button>
            </div>
        </div>
    </div>
</div>